<?php
if(!isset($informations))
{
    $informations = Array(/*Erreur*/
                    true,
                    'Erreur',
                    'Une erreur interne est survenue...',
                    '',
                    ROOTPATH.'/site.php',
                    3
                    );
}

if($informations[0] === true) $type = 'erreur';
else $type = 'information';
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="fr" >
    <head>
		<meta charset="utf-8" />
        <link rel="stylesheet" href="<?php echo ROOTPATH; ?>/style.css" />
         <!--[if lt IE 9]>
        <script src="http://html5shiv.googlecode.com/svn/trunk/html5.js"></script>
        <![endif]-->
        <!--[if lte IE 7]>
        <link rel="stylesheet" href="style_ie.css" />
        <![endif]-->
        <title><?php echo $informations[1]; ?> : <?php echo TITRESITE; ?></title>
        <meta http-equiv="Refresh" content="<?php echo $informations[5]; ?>;url=<?php echo $informations[4]; ?>">
        <link rel="stylesheet" title="Design" href="<?php echo ROOTPATH; ?>/design.css" type="text/css" media="screen" />
    </head>


    <body>
		<header>
			<div id="titre_principal">
				<img src="<?php echo ROOTPATH;?>/logo.png" alt="Logo MMDN" id="logo" width="11%"/>
				<h1 id="titre"><?php echo TITRESITE;?></h1>
			</div>
		</header>
		<section id="main">
			<article>
				<p id="<?php echo $type; ?>"><label class="label3"><?php echo $informations[2]; ?><br/> Redirection en cours...</label><br/>
				<a href="<?php echo $informations[4]; ?>" class="lien" >Cliquez ici si vous ne voulez pas attendre...</a><?php echo $informations[3]; ?></p>
			</article>
        </section>
    </body>
</html>
<?php
unset($informations);
?>
